import Vue from "vue";
import App from "./App";
import store from "./store";
import config from "./projectConfig.js"; // 项目配置
import util from "@/utils/util.js"; //公共js
// import {
//     request
// } from "@/utils/request/index.js";

import request from "@/utils/request.js";

Vue.prototype.$toast = util.toast;
Vue.prototype.$store = store;
Vue.prototype.$util = util;
Vue.prototype.$axios = request;
Vue.prototype.$config = config;

App.mpType = "app";
Vue.config.productionTip = false;
const app = new Vue({
    ...App,
});
app.$mount();